﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Business;
using System.Web.Configuration;
using Domain;

namespace HotelBrisaYArenaAdministrador
{
    public partial class ListadoDeReservaciones : System.Web.UI.Page
    {
        ReservacionBusiness resBusbiness = new ReservacionBusiness(WebConfigurationManager.ConnectionStrings["ApplicationServices"].ToString());
        LinkedList<Reservacion> reservaciones = new LinkedList<Reservacion>();

        protected void Page_Load(object sender, EventArgs e)
        {
            reservaciones = resBusbiness.RecuperaReservaciones();
            Repetidor1.DataSource = reservaciones;
            Repetidor1.DataBind();
        }

    }
}